package com.usian.feign;

import com.usian.pojo.B.day14.Team;
import com.usian.pojo.day01.Member;
import com.usian.r.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author BYBL
 * @date 2023/8/22
 */
@FeignClient(value = "day14consumer")
public interface UserFeign {
    @RequestMapping("/member/login")
    public R login(@RequestBody Member user);
    @RequestMapping("/team/findAll")
    public R findAll(@RequestBody Team team);
}